import request from '@/router/axios'

export const getList = (current, size, params) => {
    return request({
      url: '/biz-api/pv-supplier/supplierhistory/list',
      method: 'get',
      params
    })
  }
  
  export const getPage = (current, size, params) => {
    return request({
      url: '/biz-api/pv-supplier/supplierhistory/page',
      method: 'get',
      params: {
        ...params,
        current,
        size
      }
    })
  }

  export const getDetail = id => {
    return request({
      url: '/biz-api/pv-supplier/supplierhistory/detail',
      method: 'get',
      params: {
        id
      }
    })
  }